package com.dykj.fireFighting.api.fire.contractMessage.service;


import com.dykj.fireFighting.api.fire.contractMessage.dto.ContractMessageDto;
import com.dykj.fireFighting.api.fire.contractMessage.entity.ContractMessage;
import com.dykj.fireFighting.api.fire.contractMessage.vo.ContractMessagesVo;
import com.dykj.fireFighting.common.core.service.IBaseService;
import com.dykj.fireFighting.common.core.vo.PageVo;

import java.util.HashMap;
import java.util.List;

/**
 * 维保合同表
 *
 * @Author JacksonTu
 * @Date  2021-07-27 15:01:44
 */
public interface IContractMessageService extends IBaseService<ContractMessage> {
    PageVo<ContractMessagesVo> queryList(ContractMessageDto contractMessageDto);


    List<ContractMessagesVo> getSomeContract(HashMap<String, Object> params);

    List<ContractMessagesVo> getBeExpireList(String unitId,Integer type);

    List<ContractMessagesVo> getUnitList(HashMap<String, Object> params);
    ContractMessagesVo getByUnitMaintenance(String sociolgyId,String maintenanceId );
    int  querySameContractNumSize(String contractNumber,String id);
}

